home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / fortran / libf2c-0.000 / libf2c-0 / libf2c / make.static < prev    next >
Encoding:
Text File  |  1994-02-06  |  398 b   |  12 lines

  1. #!/bin/csh
  2. #
  3. # Rob Hooft (hooft@chem.ruu.nl) Feb 14, 1993
  4. # Modified Jan 15, 1994 using hints from Olaf Flebbe.
  5. #
  6. (cd libI77 && make CC="gcc" CFLAGS="-O6 -fomit-frame-pointer -DNON_UNIX_STDIO -D_POSIX_SOURCE")
  7. (cd libF77 && make CC="gcc" CFLAGS="-O6 -fomit-frame-pointer -DNON_UNIX_STDIO -D_POSIX_SOURCE")
  8. ar r libf2c.a lib?77/*.o
  9. ranlib libf2c.a
  10. f2c hello.f
  11. cc -s -N -o hello hello.c libf2c.a -lm
  12.